//
//  ZTAttentionViewController.m
//  项目练习
//
//  Created by 张江涛 on 15/11/30.
//  Copyright © 2015年 张江涛. All rights reserved.
//

#import "ZTAttentionViewController.h"
#import "ZTAttentionLeftController.h"

@interface ZTAttentionViewController ()

@end

@implementation ZTAttentionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"我的关注";
    
    //导航栏左侧图片
    UIBarButtonItem *attentionItem = [UIBarButtonItem  itemWithImage:@"friendsRecommentIcon" highImage:@"friendsRecommentIcon-click" traget:self action:@selector(attentionItemClick)];
    self.navigationItem.leftBarButtonItem = attentionItem;
   }

//按钮的点击监听
- (void)attentionItemClick
{
    ZTAttentionLeftController *attentionLeft = [[ZTAttentionLeftController alloc]init];
    attentionLeft.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:attentionLeft animated:YES];
    
}


@end
